package com.cskaoyan.javase.oop2._1extends._9final._3variable._5exercise;

/**
 * @description: 小练习
 * @author: wuguidong@cskaoyan.onaliyun.com
 **/

public class Test{
    public static void main(String[] args){
        Student s = new Student();
        new Test().test(s);
        System.out.println(s.age);
    }
    public void test(final Student s){
        //s = new Student();
        System.out.println(s.age++);
    }
}
class Student{
    public int age;
}